import request from '@/utils/request'

export function getList() {
    return request({
        url: '/v1/serie/list',
        method: 'post',
    })
}

// 添加菜品分类
export function addtable(data) {
    return request({
        url: '/v1/serie/add',
        method: 'post',
        data
    })
}

// 删除台桌
export function delType(data) {
    return request({
        url: '/v1/serie/del',
        method: 'post',
        data
    })
}

// 修改台桌
export function updatedType(data) {
    return request({
        url: '/v1/serie/update',
        method: 'post',
        data
    })
}